package com.finalproject.cloudnative06.config;

import io.micrometer.core.instrument.Counter;
import io.micrometer.core.instrument.Metrics;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CounterConfig {
    @Bean
    public Counter counter(){
        return Metrics.counter("api.QPS");
    }
}
